/**
 * @author emylyano3
 *
 */

package com.design.components;

import java.awt.image.BufferedImage;
import java.net.URL;
import java.util.List;

import com.data.IdManager;

public class Banner extends DesignComponent implements AttributeTypes {
	
	//**************************************************************************************************
	//	Constructor.
	//**************************************************************************************************
	
	public Banner () {
		super(IdManager.BANNER_PREFIX);
	}
		
	//**************************************************************************************************
	//	Attributes.
	//**************************************************************************************************

	public static byte quantity;
	private BufferedImage draw;
	private String absolutePath;
	private URL url;
	
	//**************************************************************************************************
	//	Public Methods.
	//**************************************************************************************************
	
	@Override
	public void dumpAttributes(List <String> names, List <String> values) {
		super.dumpCommonAttributes(names, values);
	}
	
	@Override
	public void keepAttributes(List<String> values) {
		
	}
	
	//**************************************************************************************************
	//	Getters & Setters.
	//**************************************************************************************************
	
	public void setDraw(BufferedImage draw) {
		this.draw = draw;
	}
	public BufferedImage getDraw() {
		return draw;
	}

	public void setAbsolutePath(String absolutePath) {
		this.absolutePath = absolutePath;
	}
	public String getAbsolutePath() {
		return absolutePath;
	}
	
	public void setURL(URL uRL) {
		url = uRL;
	}
	public URL getURL() {
		return url;
	}
	
}
